package HigherCharacteristics;

import java.sql.SQLOutput;

public class Animal extends Creature{
    public Animal(String name){
        System.out.println("Animal带一个参数的构造器 ，该动物的名称："+name);
    }
    public Animal(String name,int age){
        this(name);
        System.out.println("带两个参数,age="+age);
    }
}
